<form method="post" name="frm_SelTsukinTsugaku" onSubmit="return tsukintsugakuSubmit();" action="{$apm.baseurl}search/tsukintsugakujikansearch">
			<div class="lead">
				<p class="txt">
				{if ($TgtStNms|@count) == 0}
				<p class="txt">「入力駅」から「物件の最寄り駅」までの所要時間で検索します。</p>
				<p class="txt">最寄り駅から物件までのバス・徒歩時間は含まれません。</p>
				<p class="txt">沿線名を入力せずに駅名のみ入力してください。</p>
				{if $err_msg != ""}<p class="searchAttTxt01">{$err_msg}</p>{/if}
				{else}
				複数の駅が該当しました。目的の駅を選択して「次へ進む」をクリックしてください。
				{/if}
				</p>
			</div>
			<!-- searchStationTime -->
			<div id="searchStationTime">
				<!-- inputBlock -->
				<div class="inputBlock">
					<!-- block01 -->
					<div class="block01">
					{if ($TgtStNms|@count) == 0}
						<input type="hidden" id="SelStKbn" name="SelStKbn" value="0" />
						<p class="inputStation">
							<input type="text" value="{$TgtStNm}" name="TgtStNm" id="TgtStNm" />
							&nbsp;駅まで</p>
						<p class="errorTxt" id="errorTxt1" style="display:none">該当する駅が見つかりません</p>
					{else}
						<input type="hidden" id="SelStKbn" name="SelStKbn" value="1" />
						<div class="showResult" style="display:block;">
							<select name="TgtStNm" size="10">
									{foreach from=$TgtStNms item=ekiname name=eki}
										<option value="{$ekiname}"  {if $smarty.foreach.eki.first}selected{/if}>{$ekiname}</option>
									{/foreach}
							</select>
						</div>
					{/if}
					</div>
					<!-- /block01 -->
					<!-- block02 -->
					<div class="block02">
						<p class="time">
							<select name="EndRangeTimeFrom" id="EndRangeTimeFrom">
								<option>時間を選択してください</option>
								<option value="0" {if $EndRangeTimeFrom==0 && (($TgtStNms|@count) != 0 || $TgtStNm != '')}selected{/if}>0</option>
								<option value="10" {if $EndRangeTimeFrom==10}selected{/if}>10</option>
								<option value="20" {if $EndRangeTimeFrom==20}selected{/if}>20</option>
								<option value="30" {if $EndRangeTimeFrom==30}selected{/if}>30</option>
								<option value="40" {if $EndRangeTimeFrom==40}selected{/if}>40</option>
								<option value="50" {if $EndRangeTimeFrom==50}selected{/if}>50</option>
								<option value="60" {if $EndRangeTimeFrom==60}selected{/if}>60</option>
								<option value="70" {if $EndRangeTimeFrom==70}selected{/if}>70</option>
								<option value="80" {if $EndRangeTimeFrom==80}selected{/if}>80</option>
							</select>&nbsp;分&nbsp;から&nbsp;
							<select name="EndRangeTimeTo" id="EndRangeTimeTo">
								<option selected="selected">時間を選択してください</option>
								<option value="10" {if $EndRangeTimeTo==10}selected{/if}>10</option>
								<option value="20" {if $EndRangeTimeTo==20}selected{/if}>20</option>
								<option value="30" {if $EndRangeTimeTo==30}selected{/if}>30</option>
								<option value="40" {if $EndRangeTimeTo==40}selected{/if}>40</option>
								<option value="50" {if $EndRangeTimeTo==50}selected{/if}>50</option>
								<option value="60" {if $EndRangeTimeTo==60}selected{/if}>60</option>
								<option value="70" {if $EndRangeTimeTo==70}selected{/if}>70</option>
								<option value="80" {if $EndRangeTimeTo==80}selected{/if}>80</option>
								<option value="90" {if $EndRangeTimeTo==90}selected{/if}>90</option>
							</select>
						&nbsp;分まで</p>
						<p class="errorTxt" id="errorTxt2" style="display:none"></p>
						<div class="changeBlock">
							<p class="change">乗換回数&nbsp;
								<select name="TransferCount" id="TransferCount">
									<option value="0" {if $TransferCount==0}selected{/if}>乗換なし</option>
									<option value="1" {if $TransferCount==1}selected{/if}>1</option>
									<option value="2" {if $TransferCount==2}selected{/if}>2</option>
								</select>
							</p>
						</div>
					</div>
					<!-- /block02 -->
				</div>
				<!-- /inputBlock -->
			</div>
			<!-- /searchStationTime -->

			<!-- searchBtnBlock02 -->
			<div id="searchBtnBlock02">
				<!-- btnBlock -->
				<div class="btnBlock">
					<p class="btn">
						<input name="imageField" type="image" id="imageField" src="/images/search/common/btn_next.jpg" alt="次へ進む" class="rollImg" />
					</p>
					<p class="txt"><img src="/images/search/common/txt_info.gif" alt="沿線選択＋物件条件指定画面へ" width="161" height="12" /></p>
				</div>
				<!-- /btnBlock -->
			</div>
			<!-- /searchBtnBlock02 -->

<input type="hidden" name="SrhKbn" value="{$search_kbn}" />
</form>
